package com.classify.system.domain;

import com.shopgoods.common.core.web.domain.BaseEntity;

import java.util.List;

/**
 * @ClassName SgAttributes
 * @Description 描述
 * @Author GYW
 * @Date 2024-11-15 10:27
 */
public class SgAttributes  extends BaseEntity
{
    private static final long serialVersionUID = 1L;


    /**
     * 属性编号
     */
    private Integer aid;

    /**
     * 属性名
     */
    private String aname;

    /**
     * 父级编号
     */
    private String pid;


    /**
     * 子集合
     */
    private List<SgAttributes> children;


    public Integer getAid() {
        return aid;
    }

    public void setAid(Integer aid) {
        this.aid = aid;
    }

    public String getAname() {
        return aname;
    }

    public void setAname(String aname) {
        this.aname = aname;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public List<SgAttributes> getChildren() {
        return children;
    }

    public void setChildren(List<SgAttributes> children) {
        this.children = children;
    }

    @Override
    public String toString() {
        return "SgAttributes{" +
                "aid=" + aid +
                ", aname='" + aname + '\'' +
                ", pid='" + pid + '\'' +
                ", children=" + children +
                '}';
    }
}
